WPChill\DownloadMonitor\Dependencies\Pimple\Tests\PimpleTest S

Total Complexity 45
Dependencies 11
Dependents 0
Total lines 576
Lines of code 375
Logical lines of code 280
Comment lines 61
Methods 44
Properties 0

Methods 44

Method Rating Maintainability Complexity Lines of code
testExtendDoesNotLeakWithFactories()
S
56 2 19
testExtend()
S
54 1 23
testExtendingServiceAfterOtherServiceFreeze()
S
61 1 14
testExtendingService()
S
61 1 13
testIsset()
S
62 1 12
testRemovingServiceAfterFreeze()
S
63 1 12
testLegacyOverridingServiceAfterFreeze()
S
63 1 12
testOverridingServiceAfterFreeze()
S
62 1 12
testExtendFailsIfFrozenServiceIsNonInvokable()
S
62 1 11
testExtendFailsIfFrozenServiceIsInvokable()
S
62 1 11
testShouldPassContainerAsParameter()
S
63 1 11
testDefiningNewServiceAfterFreeze()
S
64 1 11
testServicesShouldBeDifferent()
S
63 1 11
serviceDefinitionProvider()
S
65 1 10
badServiceDefinitionProvider()
S
72 1 6
testFactoryFailsForInvalidServiceDefinitions()
S
69 1 6
testLegacyExtendFailsForInvalidServiceDefinitions()
S
67 1 8
testExtendFailsForInvalidServiceDefinitions()
S
66 1 8
testExtendingProtectedClosureDeprecation()
S
64 1 10
testLegacyExtendFailsForKeysNotContainingServiceDefinitions()
S
67 1 8
testExtendFailsForKeysNotContainingServiceDefinitions()
S
66 1 8
testLegacyProtectFailsForInvalidServiceDefinitions()
S
70 1 6
testProtectFailsForInvalidServiceDefinitions()
S
69 1 6
testLegacyFactoryFailsForInvalidServiceDefinitions()
S
70 1 6
testWithString()
S
73 1 5
settingNonInvokableObjectShouldTreatItAsParameter()
S
72 1 5
testGlobalFunctionNameAsParameterValue()
S
73 1 5
testConstructorInjection()
S
72 1 5
testOffsetGetValidatesKeyIsPresent()
S
69 1 6
testLegacyOffsetGetValidatesKeyIsPresent()
S
70 1 6
testOffsetGetHonorsNullValues()
S
73 1 5
testUnset()
S
64 1 10
testShare()
S
65 1 9
testProtect()
S
72 1 5
testRaw()
S
68 1 7
settingAnInvokableObjectShouldTreatItAsFactory()
S
72 1 5
testRawHonorsNullValues()
S
73 1 5
testFluentRegister()
S
75 1 4
testRawValidatesKeyIsPresent()
S
69 1 6
testLegacyRawValidatesKeyIsPresent()
S
70 1 6
testExtendValidatesKeyIsPresent()
S
67 1 7
testLegacyExtendValidatesKeyIsPresent()
S
69 1 7
testWithClosure()
S
68 1 7
testKeys()
S
70 1 6